const getters = {
  name: (state) => state.user.name,
  roles: (state) => state.user.roles,
  token: (state) => state.user.token,

  addRouters: (state) => state.permission.addRouters,

  sidebar: (state) => state.app.sidebar,
  isMobile: (state) => state.app.isMobile,
  isCloseSidebar: (state) => state.app.isCloseSidebar
}

export default getters
